package demo2;

import demo2.Animal;

public class Dog extends Animal implements IRunning {
    public Dog(String name){
        super(name);
    }

    @Override
    public void run() {
        System.out.println(this.name+"正在跑步");
    }
}
